<?php

use yii\db\Schema;
use yii\db\Migration;

class m180209_081218_add_app_adspace_style_material_fields extends Migration
{
    public function up()
    {
        $this->addColumn('{{%resource_app}}', 'adspace_image', 'varchar(128) after type');
    }

    public function down()
    {
        echo "m180209_081218_add_app_adspace_style_material_fields cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
